﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<TITLE> <? echo $title;?>-管理后台登入 </TITLE>
<base href="<?php echo base_url() ?>" />
<link REL="SHORTCUT ICON" href="favicon.ico">
<LINK href="images/default.css" type="text/css" rel=stylesheet>
<script src="images/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
	function check_form(theform)
	{
		if (theform.username.value=="")
		{
			alert("对不起，用户名不能为空！");
			theform.username.focus();
			return false;
		}

		if (theform.password.value=="")
		{
			alert("对不起，密码不能为空！");
			theform.password.focus();
			return false;
		}
		if (theform.chk.value=="")
		{
			alert("对不起，请输入验证码！");
			theform.chk.focus();
			return false;
		}
	}
</script>
<script language="JavaScript">
if (top.location != self.location) {top.location=self.location;}
function pressCaptcha(obj)
{
	obj.value = obj.value.toLowerCase();
}
</script>


</HEAD>
<BODY topMargin=10>
 <br/><br/><br/><br/><br/><br/><br/><br/>
      <FORM action="<?php echo site_url("admin/checklogin"); ?>"  onsubmit="return check_form(this)"  method="post" name="pass" id="pass" ><A name=b8e6f4fa493903c4></A>
        <table width="400" border="0" align="center" cellpadding="0" cellspacing="0" class="tableborder">
        <tr class="header">
          <td colspan="3" align="right"><div align="right">管理后台登入</div></td>
        </tr>
        <tr>
          <td colspan="3">&nbsp;</td>
          </tr>
        <tr>
          <td width="149" height="40" align="right"><div align="right">用户名：            </div></td>
          <td width="251" colspan="2"><input type="text" name="username" id="username"></td>
        </tr>
        <tr>
          <td height="40" align="right"><div align="right">密码：</div></td>
          <td colspan="2"><input type="password" name="password" id="password"></td>
        </tr>
        <tr>
          <td height="40" align="right"><div align="right">验证码：</div></td>
          <td width="60"><input name="chk" type="text" id="chk" onKeyUp="pressCaptcha(this)"/></td>
          <td><img src="<?php echo site_url('admin/captcha') ?>" border="0"></td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td colspan="2">
          <input class="submit" type=submit value="Login" name=submit> &nbsp; &nbsp;
          <input class="reset" type=reset value="Reset" name=reset>
          </td>
        </tr>
        <tr>
           <td colspan="3">
            <div id="msg" style="margin-top:12px;margin-bottom:5px;font-size:13px;color: #C62E25;font-weight:bold;"> <?php echo $error ?></div>
           </td>
        </tr>
      </table>
      </FORM>
	  <br/><br/><br/><br/><br/><br/>
      <DIV class=footer>
        <HR width="80%" color=#9db3c5 noShade SIZE=0>
         Powered by  <? echo $copyright ?> <em>,</em><B><A style="COLOR: #666" href="<? echo base_url() ?>" target="_blank"><? echo $version;?>.</A></B>
      </DIV>
</BODY></HTML>
